Don't emulate map/unmap events for native windows
authorAlexander Larsson <alexl@redhat.com>
Wed, 8 Jul 2009 16:36:24 +0000 (18:36 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 8 Jul 2009 16:47:43 +0000 (18:47 +0200)
commita90d43bed605f6afb929672d8568be0afbf9408d
treeb7bca168ce3ebd12096b942d1b085e48042d8ec3
parent8ebf278ebb23799682af45de512667d0473c9067
Don't emulate map/unmap events for native windows

We really need to wait for the MapNotify from the xserver to ensure
that the window has been mapped, as it may be delayed by the WM, network
or similar things.

This fixes a problem in the /ui-tests/keys-events gtk test
gdk/gdkwindow.c